package com.java.day01;

/**
 * 集成 Thread类 重写Run
 */
public class ExtendThread  extends Thread{
    @Override
    public void run() {
        System.out.println("thread hello world");
    }

    public static void main(String[] args) {
        Thread thread = new ExtendThread();
        thread.start();
    }
}
